home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.arch.arithmetic,comp.lang.c,comp.lang.c++
- Subject: Re: Access carry flag from C
- Date: Sat, 24 Feb 96 17:56:17 GMT
- Organization: none
- Message-ID: <825184577snz@genesis.demon.co.uk>
- References: <Dn1C9z.DGv.0.net@indra.com> <31298D20.41C6@bazis.nl> <ARTHUR.96Feb20143404@gold.Smallworld.co.uk> <TANMOY.96Feb20101110@qcd.lanl.gov> <4gii0o$38k@sun001.spd.dsccc.com>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4gii0o$38k@sun001.spd.dsccc.com>
- jmccarty@spd.dsccc.com "Mike McCarty" writes:
-
- >If I recall the first post properly, no mention was made of "int" types,
- >but rather of fixed-point types. Not all fixed-point numeration systems
- >represent integers.
-
- They do when we are constrained to numeration systems that can be
- supported directly by C types.
-
- You can code portable tests for overflow on integer addition/subtraction
- so long as you know the types of the operands. Making the tests efficient
- is another matter.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-